/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package acceso.util;

import java.util.TimerTask;

/**
 *
 * @author romulogalindo
 */
public class Tarea{
    TimerTask task;
    long delay;
    long periodo;

    public Tarea(TimerTask task, long delay, long periodo) {
        this.task = task;
        this.delay = delay;
        this.periodo = periodo;
    }

    public long getDelay() {
        return delay;
    }

    public void setDelay(long delay) {
        this.delay = delay;
    }

    public long getPeriodo() {
        return periodo;
    }

    public void setPeriodo(long periodo) {
        this.periodo = periodo;
    }

    public TimerTask getTask() {
        return task;
    }

    public void setTask(TimerTask task) {
        this.task = task;
    }
    
}